package com.ym.medical.domain.entity;

import com.ym.common.constant.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;

/**
 * 通讯录关系表对象 address_group
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel("通讯录关系表-实体")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "address_group")
public class AddressGroupEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 用户主键
	 */
	@ApiModelProperty("用户主键")
	private Long userId;

	/**
	 * 系统/用户
	 */
	@ApiModelProperty("系统/用户")
	private String algType;

	/**
	 * 自定义分组名称
	 */
	@ApiModelProperty("自定义分组名称")
	private String algName;

	/**
	 * 分类标识(患者/医生/群聊)
	 */
	@ApiModelProperty("分类标识(患者/医生/群聊)")
	private String algIdent;

}
